import { Button, Form, Input,Col, Row } from 'antd';
import React, { useEffect } from 'react';
import './../../assets/css/knowledge/AddInfor.css'
import { inject, observer } from 'mobx-react';


const App = (props) => {
  return (
    <div id='KnowDetail'>
        <h3>查看知识库</h3>
        <ul>
          <li><span>知识库分类：</span><input type="text" value={props.knowledgeStore.addInfo.sort} disabled/></li>
          <li><span>知识库标题：</span><input type="text" value={props.knowledgeStore.addInfo.title} disabled/></li>
          <li><span>知识库内容：</span><textarea className='lastinput' type="text" value={props.knowledgeStore.addInfo.outline} disabled/></li>
        </ul>
    </div>
  );
};

export default inject('knowledgeStore')(observer(App))

